class LastfmCrawl < ActiveRecord::Base
   belongs_to :service    # foreign key - service_id
   has_one :lastfm_data, :foreign_key => :crawl_id

  def data
    self.lastfm_data
  end
  
  def data=(new_data)
    self.lastfm_data = new_data
  end
  
  def create_data(args = {})
    create_lastfm_data args
  end
  
end
